package test;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

/**
 * Created by vixtel-dp on 2018/6/13.
 */
public class Transform {
    private void readFile(){
        File file = new File("./2018-06-12-22-33-05-RawPackageRecording.txt");
        try {
            byte [] b = new byte[1024];
            FileInputStream fis = new FileInputStream(file);
            fis.read(b);
            System.out.print(b);
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
    public static void main(String[] args) {
        Transform t = new Transform();
        t.readFile();
    }
}
